import request from './request'
import qs from 'qs'

export const SendSMSAPI = (params) => request.post("/sendSMS",qs.stringify(params));

export const PhoneReginAPI = (params) => request.post("/phoneRegin",qs.stringify(params));

export const BinDingAPI = (params) => request.post("/wechatUsers/binding",qs.stringify(params));

export const JingPinAPI = () => request.get("/products/recommend")

export const HotAPI = () => request.get("/products/hot")

export const  GoodDetailsAPI = (id) => request.get(`/products/${id}`);